package com.claimSettlement.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 定损信息实体类
 * 曹文韬
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("loss_determination_info")
public class LossDetermination implements Serializable {
    @TableId(value = "lossId",type = IdType.AUTO)
    private int lossId;
    private int userId;/*员工工号-外键*/
    private String caseId;/*报案编号-外键*/
    private String carName;/*车主姓名*/
    private String lossAddress;/*定损地点*/
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date lossTime;/*定损时间*/
    private Double lossSum;/*定损总额*/
    private int lossStatus;/*1.通过，2.未处理，3.暂存，4.待修改，5.撤销*/
}
